package com.ruoyi.basedata.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 结算加成比率分录对象 t_oms_settlementrateentry
 *
 * @author ptt
 * @date 2023-03-07
 */
public class OmsSettlementrateentry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 父表id */
    private Long parentid;

    /** 品类编码 */
    @Excel(name = "品类编码")
    private String categorynumber;

    /** 品类名称 */
    @Excel(name = "品类名称")
    private String categoryname;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialnumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialname;

    /** 单位 */
    @Excel(name = "单位")
    private String unitname;

    /** 价格类型 */
    @Excel(name = "价格类型")
    private String pricetype;

    /** 客户分组 */
    @Excel(name = "客户分组")
    private String groupnumber;

    /** 比例 */
    @Excel(name = "比例")
    private BigDecimal scale;

    /** 含税单价 */
    @Excel(name = "含税单价")
    private BigDecimal taxprice;

    /** 优先级 */
    @Excel(name = "优先级")
    private BigDecimal priority;



    /** 客户编码 */
    private String customernumber;

    /** 客户名称 */
    private String customername;

    /** 物料分类一级编码 */
    private String group1number;

    /** 物料分类一级名称 */
    private String group1name;

    /** 物料分类二级编码 */
    private String group2number;

    /** 物料分类二级名称 */
    private String group2name;

    /** 物料分类三级编码 */
    private String group3number;

    /** 物料分类三级名称 */
    private String group3name;

    /** 加成比率 */
    private BigDecimal rate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCategorynumber(String categorynumber)
    {
        this.categorynumber = categorynumber;
    }

    public String getCategorynumber()
    {
        return categorynumber;
    }
    public void setCategoryname(String categoryname)
    {
        this.categoryname = categoryname;
    }

    public String getCategoryname()
    {
        return categoryname;
    }
    public void setMaterialnumber(String materialnumber)
    {
        this.materialnumber = materialnumber;
    }

    public String getMaterialnumber()
    {
        return materialnumber;
    }
    public void setMaterialname(String materialname)
    {
        this.materialname = materialname;
    }

    public String getMaterialname()
    {
        return materialname;
    }
    public void setUnitname(String unitname)
    {
        this.unitname = unitname;
    }

    public String getUnitname()
    {
        return unitname;
    }
    public void setPricetype(String pricetype)
    {
        this.pricetype = pricetype;
    }

    public String getPricetype()
    {
        return pricetype;
    }
    public void setGroupnumber(String groupnumber)
    {
        this.groupnumber = groupnumber;
    }

    public String getGroupnumber()
    {
        return groupnumber;
    }
    public void setScale(BigDecimal scale)
    {
        this.scale = scale;
    }

    public BigDecimal getScale()
    {
        return scale;
    }
    public void setTaxprice(BigDecimal taxprice)
    {
        this.taxprice = taxprice;
    }

    public BigDecimal getTaxprice()
    {
        return taxprice;
    }
    public void setPriority(BigDecimal priority)
    {
        this.priority = priority;
    }

    public BigDecimal getPriority()
    {
        return priority;
    }
    public void setParentid(Long parentid)
    {
        this.parentid = parentid;
    }

    public Long getParentid()
    {
        return parentid;
    }
    public void setCustomernumber(String customernumber)
    {
        this.customernumber = customernumber;
    }

    public String getCustomernumber()
    {
        return customernumber;
    }
    public void setCustomername(String customername)
    {
        this.customername = customername;
    }

    public String getCustomername()
    {
        return customername;
    }
    public void setGroup1number(String group1number)
    {
        this.group1number = group1number;
    }

    public String getGroup1number()
    {
        return group1number;
    }
    public void setGroup1name(String group1name)
    {
        this.group1name = group1name;
    }

    public String getGroup1name()
    {
        return group1name;
    }
    public void setGroup2number(String group2number)
    {
        this.group2number = group2number;
    }

    public String getGroup2number()
    {
        return group2number;
    }
    public void setGroup2name(String group2name)
    {
        this.group2name = group2name;
    }

    public String getGroup2name()
    {
        return group2name;
    }
    public void setGroup3number(String group3number)
    {
        this.group3number = group3number;
    }

    public String getGroup3number()
    {
        return group3number;
    }
    public void setGroup3name(String group3name)
    {
        this.group3name = group3name;
    }

    public String getGroup3name()
    {
        return group3name;
    }
    public void setRate(BigDecimal rate)
    {
        this.rate = rate;
    }

    public BigDecimal getRate()
    {
        return rate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("categorynumber", getCategorynumber())
                .append("categoryname", getCategoryname())
                .append("materialnumber", getMaterialnumber())
                .append("materialname", getMaterialname())
                .append("unitname", getUnitname())
                .append("pricetype", getPricetype())
                .append("groupnumber", getGroupnumber())
                .append("scale", getScale())
                .append("taxprice", getTaxprice())
                .append("priority", getPriority())
                .append("parentid", getParentid())
                .append("customernumber", getCustomernumber())
                .append("customername", getCustomername())
                .append("group1number", getGroup1number())
                .append("group1name", getGroup1name())
                .append("group2number", getGroup2number())
                .append("group2name", getGroup2name())
                .append("group3number", getGroup3number())
                .append("group3name", getGroup3name())
                .append("rate", getRate())
                .toString();
    }
}